<!DOCTYPE html>
<html>
  <head>
    <title>crm二审潜在客户- 日志</title>
    <#include "/inc/base-style.ftl">
    <link rel="stylesheet" href="${staticPath}/plugins/select2/select2.min.css">
    <#include "/style/auditForm/form-style.ftl">
  </head>
  <body class="${bodyClass}">
    <div class="wrapper">
      <!-- Main Header -->
     <#include "/inc/main-header.ftl">
      <!-- Left side column. contains the logo and sidebar -->
        <aside class="main-sidebar">

        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">
          <#include "/inc/slidebar-menu.ftl">
        </section>
        <!-- /.sidebar -->
      </aside>

   <!-- Content Wrapper. Contains page content -->
      <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
         <h1>
						<i class="icon-user"> </i> crm登岛二审信息
						<span style="float: right">
							<a class="btn  btn-round" href="/crm/auditreport/list">返回列表页</a>
						</span>
					</h1>
        </section>

        <!-- Main content -->
        <section class="content">
	     <div class="panel panel-default">
			<div class="panel-body">
			    <#if (report.id)??>
		         <div class="row-fluid sortable">
				 <!--container start-->
					<form class="form-inline" action="">
					<div class="control-group">
		                          
					<label class="control-label iradiofirst">企业不存在：</label>
						<#if report.enterpriceIsTure == 1>
						  	<input type="checkbox" class="crmtext_data" id="enterpriceIsTure" name="enterpriceIsTure" value ="1" checked disabled="disabled">
						<#else>
						  	<input type="checkbox" class="crmtext_data" id="enterpriceIsTure" name="enterpriceIsTure" value ="0" disabled="disabled">
						</#if>
					<label class="control-label iradio" >企业成立时间不达标：</label>
						<#if report.enterpriceRegisterPar == 1>
							<input type="checkbox" class="crmtext_data" id="enterpriceRegisterPar" name="enterpriceRegisterPar" value ="1" checked disabled="disabled">
					      <#else>
							<input type="checkbox" class="crmtext_data" id="enterpriceRegisterPar" name="enterpriceRegisterPar" value ="0" disabled="disabled">
						</#if>
					<label class="control-label iradio" >企业营业收入不达标：</label>
                         <#if report.enterpriceTurnoverPar == 1>
							<input type="checkbox" class="crmtext_data" id="enterpriceTurnoverPar" name="enterpriceTurnoverPar" value ="1" checked disabled="disabled">
					      <#else>
							<input type="checkbox" class="crmtext_data" id="enterpriceTurnoverPar" name="enterpriceTurnoverPar" value ="0" disabled="disabled">
						</#if>
					<label class="control-label iradio" >是否高品质：</label>
                         <#if vo.isHightQuality == 1>
							<input type="checkbox" class="crmtext_data" id="enterprice_turnover_par" name="enterprice_turnover_par" value ="1" checked disabled="disabled">
					      <#else>
							<input type="checkbox" class="crmtext_data" id="enterprice_turnover_par" name="enterprice_turnover_par" value ="0" disabled="disabled">
						 </#if>								    
					</div>
				    <div class="control-group">
						<label class="control-label iradiofirst">企业有不良记录：</label>
							<#if report.enterpriceBlackMark == 1>
								<input type="checkbox" class="crmtext_data" id="enterpriceBlackMark" name="enterpriceBlackMark" value ="1" checked disabled="disabled">
						      <#else>
								<input type="checkbox" class="crmtext_data" id="enterpriceBlackMark" name="enterpriceBlackMark" value ="0" disabled="disabled">
							</#if>
						<label class="control-label iradio" >企业家职务不达标：</label>
							<#if report.enterpricePositionPar == 1>
								<input type="checkbox" class="crmtext_data" id="enterpricePositionPar" name="enterpricePositionPar" value ="1" checked disabled="disabled">
						      <#else>
								<input type="checkbox" class="crmtext_data" id="enterpricePositionPar" name="enterpricePositionPar" value ="0" disabled="disabled">
							</#if>

						<label class="control-label iradio" >推荐人身份信息不符合：</label>
							<#if report.reterenceInfoPar == 1>
								<input type="checkbox" class="crmtext_data" id="reterenceInfoPar" name="reterenceInfoPar" value ="1" checked disabled="disabled">
						      <#else>
								<input type="checkbox" class="crmtext_data" id="reterenceInfoPar" name="reterenceInfoPar" value ="0" disabled="disabled">
							</#if>
						<label class="control-label iradio" >推荐人不明确推荐行为：</label>
							<#if report.reterenceKnow == 1>
								<input type="checkbox" class="crmtext_data" id="reterenceKnow" name="reterenceKnow" value ="1" checked disabled="disabled">
						      <#else>
								<input type="checkbox" class="crmtext_data" id="reterenceKnow" name="reterenceKnow" value ="0" disabled="disabled">
							</#if>
					</div>
					<div class="control-group">
						<label class="control-label iselectfirst">资料状态：</label>
						<select class="crmtext_data _autoSelect" id="materialStatus" name="materialStatus" disabled="disabled">
							<option value="">请选择...</option>
							<#list materialStatus_dicts as dict>
							 <option value="${dict.itemKey}" <#if dict.itemKey==report.materialStatus>selected="selected"</#if>>${dict.itemName}</option>
							</#list> 
						</select>
						<label class="control-label iselect" style="width: 120px;">资料初审人：</label>
						<select class="crmtext_data _autoSelect" id="auditFstName" name="auditFstName" disabled="disabled">
							<option value="">请选择...</option>
							<option value="1" selected = "selected">1</option>
							<option value="2">2</option>
						</select>
						<label class="control-label iselect" style="width: 100px;">资料复审人：</label>
						<select class="crmtext_data _autoSelect" id="materialSndName" name="materialSndName" disabled="disabled">
							<option value="">请选择...</option>
							<option value="1" selected = "selected">1</option>
							<option value="2">2</option>
						</select>
						<label class="control-label iselect" style="width: 100px;" >资料完成人：</label>
						<select class="crmtext_data _autoSelect" id="materialCompleteName" name="materialCompleteName" disabled="disabled">
							<option value="">请选择...</option>
							<option value="1" selected = "selected">1</option>
							<option value="2">2</option>
							
						</select>
					</div>
					<div class="control-group">
						<label class="control-label iselectfirst">审核方式：</label>
						<select class="crmtext_data _autoSelect" id="report_auditType" name="auditType" disabled="disabled">
							<option value="">请选择...</option>
							<#list auditType_dicts as dict>
							<option value="${dict.itemKey}" <#if dict.itemKey==report.auditType>selected="selected"</#if>>${dict.itemName}</option>
							</#list>  
						</select>
						<label class="control-label iselect" style="width: 120px;">是否提供财务报表：</label>
						<select class="crmtext_data _autoSelect" id="financeReportType" name="financeReportType"  disabled="disabled">
							<option value="">请选择...</option>
							<#list financeReportType_dicts as dict>
							 <option value="${dict.itemKey}" <#if dict.itemKey==report.financeReportType>selected="selected"</#if>>${dict.itemName}</option>
							</#list> 
						</select>
						<!--2指会签审核 -->
						<#if report.auditType == 2>
						<div class="control-group ">
								<label class="control-label iinputfirst" >提交会签时间：</label>
								<input type="text" class="input-small datetime" id="countersignStartDate"  name="countersignStartDate" value="${report.countersignStartDate?string("yyyy-MM-dd")}" disabled="disabled"/>
								<label class="control-label iinput" style="width: 120px;" >审核部签字日期：</label>
								<input type="text" class="input-small datetime" id="signDate1"  name="signDate1" value="${report.signDate1?string("yyyy-MM-dd")}" disabled="disabled"/>
								<label class="control-label iinput" >昆鹏签字日期：</label>
								<input type="text" class="input-small datetime" id="signDate2"  name="signDate2" value="${report.signDate2?string("yyyy-MM-dd")}" disabled="disabled"/>
								
							</div>
							<div class="control-group ">
							    <label class="control-label iinputfirst" >胡总签字日期：</label>
								<input type="text" class="input-small datetime" id="signDate3"  name="signDate3" value="${report.signDate3?string("yyyy-MM-dd")}" disabled="disabled"/>
								<label class="control-label iinput" style="width: 120px;">黄总签字日期：</label>
								<input type="text" class="input-small datetime" id="signDate4"  name="signDate4" value="${report.signDate4?string("yyyy-MM-dd")}" disabled="disabled"/>
								<label class="control-label iinput" >东华老师签字日期：</label>
								<input type="text" class="input-small datetime" id="signDate5"  name="signDate5" value="${report.signDate5?string("yyyy-MM-dd")}" disabled="disabled"/>
							</div>
							<div class="control-group ">
		                        <label class="control-label iinputfirst" >完成会签日期：</label>
								<input type="text" class="input-small datetime" id="countersignEndDate" name="countersignEndDate" value="${report.countersignEndDate?string("yyyy-MM-dd")}" disabled="disabled"/>
							</div>
							<div class="control-group ">
								<label class="control-label itextareafirst">部门及区域领导会签意见：</label>
								<textarea class="crmtext_shortData" id="leadershipOpinion" name="leadershipOpinion" disabled="disabled" disabled="disabled">${report.leadershipOpinion}</textarea>
							</div>
						<#else>
							<div class="control-group countersign">
								<label class="control-label iinputfirst" >提交会签时间：</label>
								<input type="text" class="input-small datetime" id="countersignStartDate"  name="countersignStartDate" value="${report.countersignStartDate?string("yyyy-MM-dd")}" disabled="disabled"/>
								<label class="control-label iinput" style="width: 120px;" >审核部签字日期：</label>
								<input type="text" class="input-small datetime" id="signDate1"  name="signDate1" value="${report.signDate1?string("yyyy-MM-dd")}" disabled="disabled"/>
								<label class="control-label iinput" >昆鹏签字日期：</label>
								<input type="text" class="input-small datetime" id="signDate2"  name="signDate2" value="${report.signDate2?string("yyyy-MM-dd")}" disabled="disabled"/>
								
							</div>
							<div class="control-group countersign">
							    <label class="control-label iinputfirst" >胡总签字日期：</label>
								<input type="text" class="input-small datetime" id="signDate3"  name="signDate3" value="${report.signDate3?string("yyyy-MM-dd")}" disabled="disabled"/>
								<label class="control-label iinput" style="width: 120px;">黄总签字日期：</label>
								<input type="text" class="input-small datetime" id="signDate4"  name="signDate4" value="${report.signDate4?string("yyyy-MM-dd")}" disabled="disabled"/>
								<label class="control-label iinput" >东华老师签字日期：</label>
								<input type="text" class="input-small datetime" id="signDate5"  name="signDate5" value="${report.signDate5?string("yyyy-MM-dd")}" disabled="disabled"/>
							</div>
							<div class="control-group countersign">
		                        <label class="control-label iinputfirst" >完成会签日期：</label>
								<input type="text" class="input-small datetime" id="countersignEndDate" name="countersignEndDate" value="${report.countersignEndDate?string("yyyy-MM-dd")}" disabled="disabled"/>
							</div>
							<div class="control-group countersign">
								<label class="control-label itextareafirst">部门及区域领导会签意见：</label>
								<textarea class="crmtext_shortData" id="leadershipOpinion" name="leadershipOpinion" disabled="disabled">${report.leadershipOpinion}</textarea>
							</div>
					</#if>
				<div class="control-group">
					<label class="control-label iinputfirst">企业成立时间：</label> 
					<input type="text" class="input-small datetime" id="register_datetime"  name="register_datetime"
						value="${enterprise.date_establish?string("yyyy-MM-dd")}" disabled="disabled"/>
					<label class="control-label iinput" >企业具体营业额：</label>
					<input type="text" class="crmtext_data" id="turnover" name="turnover" value="${enterprise.turnover}" disabled="disabled"/>
					<label>万</label>
				</div>	
				<div class="control-group">
				   <label class="control-label iinputfirst">不符原因描述：</label>
					<input type="text" class="crmtext_data" id="disagreeReason" name="disagreeReason" value="${report.disagreeReason}" disabled="disabled"/>
					<label class="control-label iinput" >个别问题记录：</label>
					<input type="text" class="crmtext_data" id="specialIssue" name="specialIssue" value="${report.specialIssue}" disabled="disabled"/>
				</div>
				<br/>
				<div class="control-group">
					<label class="control-label iselectfirst" style="vertical-align: top;">资料缺失类别：</label>
					<select class="crmtext_data imulselect multiSelect" id="materialShortType" name="materialShortType" 
						data-rel="chosen" multiple="multiple" disabled="disabled">
						<#list materialShortType_dicts as dict>
						      <#list materialShortTypes as materialShortType>
								 <option value="${dict.itemKey}" <#if dict.itemKey==materialShortType>selected="selected"</#if>>${dict.itemName}</option>
								</#list> 
						</#list> 
					</select>
				</div>
				<br/>
				<div class="control-group">
					<label class="control-label imulselectfirst">申请表未填内容：</label>
					<select class="crmtext_data imulselect multiSelect" id="nonefillField" name="nonefillField" 
						data-rel="chosen" multiple="multiple" disabled="disabled">
						<#list nonefillField_dicts as dict>
						     <#list nonefillFields as nonefillField>
							  <option value="${dict.itemKey}" <#if dict.itemKey==nonefillField>selected="selected"</#if>>${dict.itemName}</option> 
						     </#list>
						</#list> 
					</select>
				</div>
				<br/>
				<div class="control-group">
					<label class="control-label imulselectfirst">不符归类：</label>
					<select class="crmtext_data imulselect multiSelect" id="disagreeType" name="disagreeType" 
						data-rel="chosen" multiple="multiple" disabled="disabled">
						<#list disagreeType_dicts as dict>
						       <#list disagreeTypes as disagreeType>
							    <option value="${dict.itemKey}" <#if dict.itemKey==disagreeType>selected="selected"</#if>>${dict.itemName}</option> 
						     </#list>
						</#list> 
					</select>
				</div>
				<br/>
				<div class="control-group">
					<label class="control-label imulselectfirst" >个别问题分类：</label>
					<select class="crmtext_data imulselect multiSelect" id="specialIssueType" name="specialIssueType" 
						data-rel="chosen" multiple="multiple" disabled="disabled">
					<#list specialIssueType_dicts as dict>
							<#list specialIssueTypes as specialIssueType>
							    <option value="${dict.itemKey}" <#if dict.itemKey==specialIssueType>selected="selected"</#if>>${dict.itemName}</option> 
						     </#list>
						</#list> 
					</select>
				</div>
				<br/>
				<div class="control-group">
					<label class="control-label itextareafirst">推荐语：</label>
					<textarea class="crmtext_shortData" id="recommendation" name="recommendation" disabled="disabled">${report.recommendation}</textarea>
					<span style="color: red;" id="recommendationTips"></span>
					<label class="control-label itextarea">评价：</label>
					<textarea class="crmtext_shortData" id="applyRemark" name="applyRemark" disabled="disabled">${report.applyRemark}</textarea>
						<span style="color: red;" id="applyRemarkTips"></span>
				</div>
				<br/>
				<div class="control-group">
					<label class="control-label itextareafirst">备注：</label>
					<textarea class="crmtext_shortData" id="remarkCommon" name="remarkCommon" disabled="disabled">${report.remarkCommon}</textarea>
					<label class="control-label itextarea">问题详细备注：</label>
					<textarea class="crmtext_shortData" id="remarkIssueDetail" name="remarkIssueDetail" disabled="disabled">${report.remarkIssueDetail}</textarea>
				</div>
				<br/>
				<div class="control-group">
					<label class="control-label iinputfirst">二审审核备注：</label>
					<input type="text" class="crmtext_data" id="secondRemark" name="disagree_reason" value="${vo.auditRemark}" style="width: 600px;" disabled="disabled"/>
				</div>
		</form>
        <!--container end-->
		</div>
		<#else>
                                   暂无数据...
        </#if>
	</div>
 </div>
        </section><!-- /.content -->
      </div><!-- /.content-wrapper -->
    <#include "/inc/main-footer.ftl">
   <!-- Control Sidebar -->
      <!-- /.control-sidebar -->
      <!-- Add the sidebar's background. This div must be placed
           immediately after the control sidebar -->
      
    </div><!-- ./wrapper -->
   <#include "/crm/auditRecord/model/contract.ftl">
    </div><!-- ./wrapper -->
	<#include "/inc/base-script.ftl">
    <!-- 自定义script -->
	<#include "/script/auditRecord/auditScript.ftl">
<script>
$(function(){

	//多选设置
	 $(".multiSelect").select2({
		  placeholder: "请选择...",
	      tags: true,
	      tokenSeparators: [',', ' ']
	    })
	
	  $('.my_timepicker').datetimepicker({
        dayViewHeaderFormat: 'YYYY MMMM',
        locale: 'zh-cn',
        format: 'YYYY-MM-DD HH:mm:ss',
        keepInvalid: true
    }); 
  
});
</script>

  </body>
</html>

